<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="csrf-token" content="{{ csrf_token() }}">
<link rel="stylesheet" href="/css_system/common.css" />
<link rel="stylesheet" href="/css_system/main.css" />
<link href="/js_system/jQueryUI/jquery-ui.css" rel="stylesheet">
<link rel="stylesheet" href="/js_system/easydialog/easydialog.css" />
<script type="text/javascript" src="/js_system/easydialog/easydialog.js"></script>
<script type="text/javascript" src="/js_system/cueeasy.js"></script>
<script type="text/javascript" src="/js_system/jquery.min.js"></script>
<script type="text/javascript" src="/js_system/common.js"></script>
<script type="text/javascript" src="/js_system/user.js"></script>
<!-- 表格 -->
<script type="text/javascript" src="/js_system/colResizable-1.3.min.js"></script>

<script type="text/javascript">
        $(function () {
            $(".dataTable").colResizable({
                liveDrag: true,
                gripInnerHtml: "<div class='grip'></div>",
                draggingClass: "dragging",
                minWidth: 30
            });

        });
    </script>
</head>
    <body>
 <div class="container">
		<div class="location clearfix">
			<div class="here_area fl">
				<strong>当前位置：</strong>用户111中心&nbsp;&nbsp;&raquo;&nbsp;&nbsp;管理员列表<?php $k=1; if (is_int($k)==true){echo '1';}else {echo '2';} ?>
			</div>
			<div class="here_btn fr">
				<a href="/admin_system/user/editUser/0" class="btn btn_add">添加</a>
				<input type="button" id="DelButton" name="DelButton" class="btn btn_del" value="删 除" onclick="DelDialog('确认要删除选中的管理员吗？',1)" /> 
				 <input type="button" name="button" class="btn btn_refresh" value="刷新" onclick="location.replace(location.href);" />
			</div>
		</div>

		<dl class="filter clearfix">
			<dt>查询关键词：</dt>
			<dd>
				<input type="text" value="" onkeydown="if(event.keyCode==13){document.getElementById('SearchBtn').click();return false;}" class="input-text" id="KeyWords" name="KeyWords">
			</dd>
			<dd>
				<input type="button" onclick="UserSearch()" class="button button-primary" id="SearchBtn" value="搜 索">
			</dd>
		</dl>

		<table class="dataTable">
			<thead>
				<tr>
					<th style="width: 40px;">选择 </th>
					<th class="text-left">账号</th>
					<th class="text-left" style="width: 200px;">姓名</th>
					<th class="text-left" style="width: 200px;">联系方式</th>
					<th class="text-left" style="width: 200px;">邮箱</th>
					<th style="width: 120px;">添加时间</th>
				 <th style="width: 50px;">操作</th> 	
				</tr>
			</thead>
			<tbody>
					@foreach($Manageuser as $EntManageuser)
                    <tr>
                    <td><input type="checkbox"  name="cbxid" value="{{ $EntManageuser->UserID }}" id="cbxid_{{ $EntManageuser->UserID }}"></td>
                    <td class="text-left">{{ $EntManageuser->UserName }}</td>
                    <td class="text-left">{{ $EntManageuser->RealName }}</td>
                    <td>{{ $EntManageuser->Tel }}</td>
                    <td>{{ $EntManageuser->Email }}</td>
                    <td> {{ $EntManageuser->ReleaseDate }}</td>
                     <td><a class="editBtn" href="/admin_system/user/editUser/{{ $EntManageuser->UserID }}"></a></td>
                    </tr>
                   @endforeach
                   
			</tbody>
		</table>
		<div class="pagectrl clearfix">

		<!-- 分页 -->
		{!! $Manageuser->appends(['search'=>'aa'])->links() !!}
<!-- 		<div class="pagectrl clearfix"> -->
<!-- 			<div id="pageInfo" class="pageInfo"> -->
<!--           		总计 条记录分为 1 页, 当前第 1 页   -->
<!--          		<a class="now_page cur">1</a> -->
<!--          		<a class="now_page">2</a> -->
<!--          		<a class="now_page">3</a> -->
<!--          		<a class="now_page">4</a> -->
<!--          		<a class="now_page">5</a> -->
<!--     		</div> -->
<!-- 		</div> -->

</div>
	</div>
    </body>
</html>